{extend name="Layout/datagrid" /}
{block name="content_header"}        
<h1>
    商城设置
    <small>advanced tables</small>
</h1>
<ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
    <li><a href="#">商城</a></li>
    <li class="active">商城设置</li>
</ol>
{/block}
{block name="content"}
<div class="box">
    <div class="box-header">
        <ul class="nav nav-tabs">
            {foreach name="tabs" item="vo"}
            <li class="{$vo.active}"><a href="{:url($vo['url'])}">{$vo.title}</a></li>
            {/foreach}
        </ul>
    </div>
    <!-- /.box-header -->
    <div class="box-body">
        <div class="row">
            <div class="col-md-6">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">快递100</h3>
                    </div>
                    <div class="panel-body">
                        
                <!-- form start -->
                <form action="{:url('editSave')}" method="post" class="form-horizontal">
                    <div class="box-body">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">公司编号</label>
                            <div class="col-sm-9">
                                <input type="text" name="client_id" class="form-control input-sm" placeholder="公司编号" value="{$data.sendto}" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">AppKey</label>
                            <div class="col-sm-9">
                                <input type="text" name="client_secret" class="form-control input-sm" placeholder="AppKey" value="{$data.sendto}" />
                            </div>
                        </div>
                    </div>
                    <!-- /.box-body -->
                    <div class="box-footer">
                        <button type="button" class="btn btn-default xsui-btn-close-dialog">取消</button>
                        <button type="submit" class="btn btn-primary pull-right">保存</button>
                    </div>
                    <!-- /.box-footer -->
                    <input type="hidden" name="id" value="{$data.id}"/>
                </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {/block}
    {block name="script_before"}
    <script>
        $('select[name="category_id"]').ajaxcombobox({first: {id: "", text: "选择货币"}});
    </script>
    {/block}